Skip to content

kpatch-build: Add .L__const symbols to maybe_discarded_sym#1491

Merged
joe-lawrence merged 1 commit intodynup:masterfrom
liu-song-6:L__const
Jan 19, 2026
Merged

kpatch-build: Add .L__const symbols to maybe_discarded_sym#1491
joe-lawrence merged 1 commit intodynup:masterfrom
liu-song-6:L__const

Conversation

@liu-song-6
Copy link
Contributor

Clang uses .L__const symbols for some constant variables, which is later removed by ld.lld. Add them to maybe_discarded_sym, so that we can avoid rare errors like:

couldn't find matching xxx.c local symbols in vmlinux symbol table

Clang uses .L__const symbols for some constant variables, which is later
removed by ld.lld. Add them to maybe_discarded_sym, so that we can avoid
rare errors like:

  couldn't find matching xxx.c local symbols in vmlinux symbol table

Signed-off-by: Song Liu <[email protected]>
@joe-lawrence joe-lawrence merged commit deb7468 into dynup:master Jan 19, 2026
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants